
#ifndef __PLAYER_H__
#define __PLAYER_H__

#include "Real3.h"
#include <string>
using namespace std;

class Entity;

class Player
{
public:

	// Constructor
	Player(const string &_name = "Player");

	// Gets / Sets name
	string Name() const { return name; }
	void SetName(const string &_name) { name = _name; }

	// Gets / Set model
	Entity *Model() const { return model; }
	void SetModel(Entity *_model) { model = _model; }

	// Checks keys
	void KeyResponse();

private:

	// Name
	string name;
	
	// Player's Model
	Entity *model;

	// Tries to move the model (collision checking)
	void TryMove(Vector3 move);

	friend class Camera;
};

#endif // __PLAYER_H__